package myicesscheduler.web;

import java.io.FilenameFilter;

public interface MyFolderInterface
{
   public String getAbsolutePath();

   public String getAbsolutePathOfFile( String filename );
   
   public String[] getAbsolutePathOfFiles();

   public String[] getAbsolutePathOfFiles( FilenameFilter filter );

   public boolean isSameFile( String pathname, byte[] data );

   public boolean isThereFile( String pathname );

   public boolean isThereFolder( String subFolderName );

   public boolean createFolder( String subfoldername );

   public boolean createFolders( String[] subfoldernames );

   public boolean removeFolderIfEmpty( String subfoldername );

   public boolean removeFile( String pathname );

   public boolean storeFile( String pathname, byte[] bytes );

   public byte[] readFile( String pathname );

   public boolean isRequireAdminPermission();
}
